home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
hity wydania
/
Ubuntu 9.10 PL
/
karmelkowy-koliberek-desktop-9.10-i386-PL.iso
/
casper
/
filesystem.squashfs
/
usr
/
lib
/
ubiquity
/
console-setup
/
locale
< prev
Wrap
Text File
|
2008-02-23
|
546b
|
21 lines
#! /bin/sh -e
# If possible, report the intended installation locale rather than the
# current locale. Used by console-setup.
# This must not be installed in /usr/lib/ubiquity/compat; debconf calls
# locale itself, so a locale wrapper cannot source the debconf confmodule.
. /usr/share/debconf/confmodule
if db_get debian-installer/locale && [ "$RET" ]; then
LOCALE="$RET"
fi
TEXT="$(PATH=/usr/sbin:/usr/bin:/sbin:/bin locale "$@")"
if [ "$LOCALE" ]; then
printf '%s\n' "$TEXT" | sed "s/=.*/=$LOCALE/"
else
printf '%s\n' "$TEXT"
fi
exit 0